package po;

import java.io.Serializable;

public abstract class StaffPO implements Serializable{
	private static final long serialVersionUID = 1L;
	protected int ID;
	protected String name;
	protected String sex;
	protected long phone_num;
	protected String mail_address;
	protected String department;
	protected int current_class_num;
	protected String employ_time;
	
	public StaffPO() {
		
	}
	
	public StaffPO(int ID, String name, String sex, long phone_num, 
			String mail_address, String department, int current_class_num, String employ_time) {
		this.phone_num = phone_num;
		this.ID = ID;
		this.name = name;
		this.sex = sex;
		this.mail_address = mail_address;
		this.department = department;
		this.current_class_num = current_class_num;
		this.employ_time = employ_time;
	}

	public StaffPO(int ID, String name, String sex,
			String mail_address, String department, int current_class_num, String employ_time) {
		this.phone_num = 0;
		this.ID = ID;
		this.name = name;
		this.sex = sex;
		this.mail_address = mail_address;
		this.department = department;
		this.current_class_num = current_class_num;
		this.employ_time = employ_time;
	}
	
	public int getID() {
		return ID;
	}
	
	public String getName() {
		return name;
	}
	
	public String getSex() {
		return sex;
	}
	
	
	public long getPhoneNum() {
		return phone_num;
	}
	
	public String getMailAddress() {
		return mail_address;
	}
	
	public String getDepartment() {
		return department;
	}
	
	public int getCurrentClassNum() {
		return current_class_num;
	}
	public String getEmployTime() {
		return employ_time;
	}
	public void setID(int ID) {
		this.ID = ID;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public void setSex(String sex) {
		this.sex = sex;
	}
	
	
	public void setPhoneNum(long phone_num) {
		this.phone_num = phone_num;
	}
	
	public void setMailAddress(String mail_address) {
		this.mail_address = mail_address;
	}
	
	public void setDepartment(String department) {
		this.department = department;
	}
	
	public void setCurrentClassNum(int current_class_num) {
		this.current_class_num = current_class_num;
	}
	public void setEmployTime(String employ_time) {
		this.employ_time = employ_time;
	}
}
